Optimal. Leaf size=538 \[ -\frac{4 \sqrt{2} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right ),4 \sqrt{3}-7\right )}{\sqrt [4]{3} x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac{2 \sqrt [4]{3} \sqrt{2+\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt{3}\right )}{x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac{4 b x}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}-\frac{\left (a+b x^2\right )^{2/3}}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.303027, antiderivative size = 538, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {277, 235, 304, 219, 1879} \[ -\frac{4 \sqrt{2} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt{3}\right )}{\sqrt [4]{3} x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac{2 \sqrt [4]{3} \sqrt{2+\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt{3}\right )}{x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac{4 b x}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}-\frac{\left (a+b x^2\right )^{2/3}}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 277
Rule 235
Rule 304
Rule 219
Rule 1879
Rubi steps
\begin{align*} \int \frac{\left (a+b x^2\right )^{2/3}}{x^2} \, dx &=-\frac{\left (a+b x^2\right )^{2/3}}{x}+\frac{1}{3} (4 b) \int \frac{1}{\sqrt [3]{a+b x^2}} \, dx\\ &=-\frac{\left (a+b x^2\right )^{2/3}}{x}+\frac{\left (2 \sqrt{b x^2}\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{x}\\ &=-\frac{\left (a+b x^2\right )^{2/3}}{x}-\frac{\left (2 \sqrt{b x^2}\right ) \operatorname{Subst}\left (\int \frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-x}{\sqrt{-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{x}+\frac{\left (2 \sqrt{2 \left (2+\sqrt{3}\right )} \sqrt [3]{a} \sqrt{b x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{x}\\ &=-\frac{\left (a+b x^2\right )^{2/3}}{x}-\frac{4 b x}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}+\frac{2 \sqrt [4]{3} \sqrt{2+\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt{3}\right )}{x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac{4 \sqrt{2} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt{3}\right )}{\sqrt [4]{3} x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}\\ \end{align*}
Mathematica [C] time = 0.0100983, size = 49, normalized size = 0.09 \[ -\frac{\left (a+b x^2\right )^{2/3} \, _2F_1\left (-\frac{2}{3},-\frac{1}{2};\frac{1}{2};-\frac{b x^2}{a}\right )}{x \left (\frac{b x^2}{a}+1\right )^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.024, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}} \left ( b{x}^{2}+a \right ) ^{{\frac{2}{3}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x^{2} + a\right )}^{\frac{2}{3}}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b x^{2} + a\right )}^{\frac{2}{3}}}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.754195, size = 29, normalized size = 0.05 \begin{align*} - \frac{a^{\frac{2}{3}}{{}_{2}F_{1}\left (\begin{matrix} - \frac{2}{3}, - \frac{1}{2} \\ \frac{1}{2} \end{matrix}\middle |{\frac{b x^{2} e^{i \pi }}{a}} \right )}}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x^{2} + a\right )}^{\frac{2}{3}}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]